package com.yunxi.core.web;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Map;

@ApiModel(description = "登录返回信息")
@Data
public class LoginInfo implements Serializable {
    @ApiModelProperty(value = "用户编码", dataType = "String", example = "zhangsan")
    private String userCode;
    @ApiModelProperty(value = "用户名", dataType = "String", example = "张三")
    private String realName;
    @ApiModelProperty(value = "token", dataType = "String", example = "asdasdasdasd")
    private String token;
    @ApiModelProperty(value = "用户id", dataType = "String", example = "asdasdasd")
    private String userId;
    @ApiModelProperty(value = "人员编号", dataType = "String", example = "asdasdasd")
    private String accountNo;

    @ApiModelProperty(value = "租户id:pms ups")
    private String tenantId;

    private Integer isOpen;

    private Object user;
    private Object partner;
    private Object staff;
    private String message;
    private Integer userType;
    private String partnerCode;
    private Integer currentLevel;
    private String roleCode;
    private String roleName;
    private Map subMap;
}